import Home from '@/views/home'
import Category from '@/views/category'
import List from '@/views/list'
import Detail from '@/views/detail'
import Cart from '@/views/cart'
import Mine from '@/views/mine'
import Login from '@/views/login'
import Register from '@/views/register'


const routes = [
    {
      path: '/',
      redirect: '/home',
      meta: {}
    },
    {
      path: '/home',
      component: Home
    },
    {
      path: '/category',
      component: Category
    },
    {
      path: '/list',
      component:List
    },
    {
      path: '/detail',
      component:Detail
    },
    {
      path: '/cart',
      component:Cart
    },
    {
      path: '/mine',
      component: Mine
     
    },
    {
      path: '/login',
      component: Login,
    },
    {
      path: '/register',
      component: Register,
    }
  ]
  
  export default routes
  